package cn.yunhe.dao;

import cn.yunhe.model.Member;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface MemberDao {
    boolean insertMember(Member member);
    boolean updateMember(Member member);
    boolean deleteMember(int hid);

    Member getById(int hid);
    List<Member>searchMember();

    List<Member>searchMember(Map<String, Object> objectMap);
    int searchMember2TotalRecords(Map<String, Object> objectMap);

}
